<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>项目需求内容变更</title>
  <style>
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    }
    
    body {
      background-color: #f0f2f5;
      font-size: 14px;
      line-height: 1.5;
      color: #333;
    }
    
    .approval-dialog {
      position: relative;
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      background: #fff;
      border-radius: 4px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    
    .dialog-header {
      position: relative;
      padding: 16px 24px;
      border-bottom: 1px solid #f0f0f0;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
    .dialog-title {
      font-size: 16px;
      font-weight: bold;
    }
    
    .dialog-actions {
      display: flex;
      gap: 16px;
    }
    
    .dialog-actions button {
      background: transparent;
      border: none;
      cursor: pointer;
      font-size: 16px;
    }
    
    .dialog-content {
      display: flex;
      min-height: 500px;
    }
    
    .workflow-sidebar {
      width: 240px;
      padding: 24px;
      border-right: 1px solid #f0f0f0;
      flex-shrink: 0;
    }
    
    .workflow-title {
      margin-bottom: 24px;
      font-weight: 500;
    }
    
    .workflow-steps {
      position: relative;
    }
    
    .step {
      position: relative;
      padding-bottom: 30px;
      padding-left: 20px;
    }
    
    .step:last-child {
      padding-bottom: 0;
    }
    
    .step::before {
      content: "";
      position: absolute;
      left: 6px;
      top: 6px;
      height: calc(100% - 6px);
      border-left: 2px solid #e8e8e8;
    }
    
    .step:last-child::before {
      display: none;
    }
    
    .step-dot {
      position: absolute;
      left: 0;
      top: 4px;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background-color: #e8e8e8;
      z-index: 1;
    }
    
    .step-dot.active {
      background-color: #52c41a;
    }
    
    .step-content {
      margin-left: 16px;
    }
    
    .step-title {
      font-weight: 500;
      margin-bottom: 8px;
    }
    
    .step-info {
      color: #666;
      margin-bottom: 4px;
      font-size: 12px;
    }

    .user-tag {
      display: inline-block;
      padding: 0 4px;
      margin-right: 4px;
      background: #f5f5f5;
      border: 1px solid #e8e8e8;
      border-radius: 2px;
      color: #666;
      font-size: 12px;
    }
    
    .result-tag {
      display: inline-block;
      color: #1890ff;
    }
    
    .main-content {
      flex: 1;
      padding: 24px;
    }
    
    .tabs {
      display: flex;
      border-bottom: 1px solid #f0f0f0;
      margin-bottom: 24px;
    }
    
    .tab {
      padding: 8px 16px;
      margin-right: 24px;
      cursor: pointer;
      position: relative;
    }
    
    .tab.active {
      color: #1890ff;
      font-weight: 500;
    }
    
    .tab.active::after {
      content: "";
      position: absolute;
      bottom: -1px;
      left: 0;
      right: 0;
      height: 2px;
      background-color: #1890ff;
    }
    
    .tab-content {
      margin-bottom: 24px;
    }
    
    .form-section {
      margin-bottom: 24px;
      border: 1px solid #f0f0f0;
      border-radius: 2px;
    }
    
    .section-header {
      padding: 12px 16px;
      background-color: #fafafa;
      border-bottom: 1px solid #f0f0f0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
    }
    
    .section-title {
      font-weight: 500;
    }
    
    .section-icon {
      font-size: 12px;
      color: #999;
    }
    
    .section-content {
      padding: 16px;
    }
    
    .form-group {
      margin-bottom: 16px;
    }
    
    .form-group:last-child {
      margin-bottom: 0;
    }
    
    .form-label {
      display: block;
      margin-bottom: 8px;
      color: #666;
    }
    
    .form-field {
      width: 100%;
    }
    
    .form-control {
      width: 100%;
      padding: 4px 8px;
      border: 1px solid #d9d9d9;
      border-radius: 2px;
      background-color: #f5f5f5;
      color: #333;
      min-height: 32px;
    }
    
    .form-row {
      display: flex;
      gap: 16px;
      margin-bottom: 16px;
    }
    
    .form-item {
      flex: 1;
      min-width: 0;
    }
    
    textarea.form-control {
      resize: vertical;
      min-height: 80px;
    }
    
    .file-upload {
      display: flex;
      flex-direction: column;
    }
    
    .file-list {
      margin-top: 8px;
    }
    
    .footer {
      position: relative;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      padding: 12px 24px;
      border-top: 1px solid #f0f0f0;
      gap: 8px;
    }
    
    .btn {
      padding: 0 16px;
      height: 32px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 2px;
      border: 1px solid transparent;
      cursor: pointer;
      font-size: 14px;
    }
    
    .btn-default {
      background-color: #fff;
      border-color: #d9d9d9;
    }
    
    .btn-primary {
      background-color: #1890ff;
      color: #fff;
    }

    .btn-danger {
      background-color: #ff4d4f;
      color: #fff;
    }

    .handler-list {
      position: absolute;
      left: 24px;
      display: flex;
      align-items: center;
    }

    .handler-label {
      color: #666;
      margin-right: 8px;
    }

    .handler-avatar {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background-color: #f56a00;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      margin-right: 4px;
    }
  </style>
</head>
<body>
  <div class="approval-dialog">
    <div class="dialog-header">
      <div class="dialog-title">项目需求内容变更</div>
      <div class="dialog-actions">
        <button type="button">□</button>
        <button type="button">✕</button>
      </div>
    </div>
    
    <div class="dialog-content">
      <!-- 左侧审批流程 -->
      <div class="workflow-sidebar">
        <h3 class="workflow-title">审批流程</h3>
        <div class="workflow-steps">
          <!-- 开始步骤 -->
          <div class="step">
            <div class="step-dot active"></div>
            <div class="step-content">
              <div class="step-title">开始</div>
            </div>
          </div>
          
          <!-- 发起审批步骤 -->
          <div class="step">
            <div class="step-dot"></div>
            <div class="step-content">
              <div class="step-title">发起审批</div>
              <div class="step-info">
                <span class="user-tag">鞠沁/80231866</span>
              </div>
              <div class="step-info">
                处理时间: 2025-04-02 10:38:08
              </div>
              <div class="step-info">
                【已处理】处理结果: <span class="result-tag">请审批</span>
              </div>
            </div>
          </div>
          
          <!-- 项目负责人审批步骤 -->
          <div class="step">
            <div class="step-dot"></div>
            <div class="step-content">
              <div class="step-title">项目负责人审批</div>
              <div class="step-info">
                <span class="user-tag">王宇华/80276430</span>
              </div>
              <div class="step-info">
                <span class="user-tag">伍罡/80293464</span>
              </div>
              <div class="step-info">
                待处理
              </div>
            </div>
          </div>
        </div>
      </div>
      
      <!-- 右侧内容区 -->
      <div class="main-content">
        <!-- 选项卡 -->
        <div class="tabs">
          <div class="tab">查看完整流程历史</div>
          <div class="tab active">变更信息</div>
          <div class="tab">信息通知</div>
        </div>
        
        <!-- 表单内容 -->
        <div class="tab-content">
          <!-- 特性信息区块 -->
          <div class="form-section">
            <div class="section-header">
              <div class="section-title">特性信息</div>
              <div class="section-icon">▼</div>
            </div>
            <div class="section-content">
              <div class="form-row">
                <div class="form-item">
                  <label class="form-label">特性名称</label>
                  <div class="form-field">
                    <input type="text" class="form-control" value="东方国际" readonly />
                  </div>
                </div>
                
                <div class="form-item">
                  <label class="form-label">特性编号</label>
                  <div class="form-field">
                    <input type="text" class="form-control" value="IT990946-F8268695589" readonly />
                  </div>
                </div>
              </div>
              
              <div class="form-row">
                <div class="form-item">
                  <label class="form-label">所属专题</label>
                  <div class="form-field">
                    <input type="text" class="form-control" value="专题特性选填测试" readonly />
                  </div>
                </div>
                
                <div class="form-item">
                  <label class="form-label">所属专题编号</label>
                  <div class="form-field">
                    <input type="text" class="form-control" value="IT990946-E153" readonly />
                  </div>
                </div>
              </div>
              
              <div class="form-group">
                <label class="form-label">特性负责人</label>
                <div class="form-field">
                  <input type="text" class="form-control" value="伍罡/80293464" readonly />
                </div>
              </div>
            </div>
          </div>
          
          <!-- 变更说明区块 -->
          <div class="form-section">
            <div class="section-header">
              <div class="section-title">变更说明</div>
              <div class="section-icon">▼</div>
            </div>
            <div class="section-content">
              <div class="form-group">
                <label class="form-label">变更原因</label>
                <div class="form-field">
                  <input type="text" class="form-control" value="其他" readonly />
                </div>
              </div>
              
              <div class="form-group">
                <label class="form-label">变更说明</label>
                <div class="form-field">
                  <textarea class="form-control" readonly>1212</textarea>
                </div>
              </div>
              
              <div class="form-group">
                <label class="form-label">变更文档</label>
                <div class="form-field">
                  <div class="file-upload">
                    <input type="file" id="document-upload" />
                    <div class="file-list">
                      <!-- 上传的文件将显示在这里 -->
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 底部操作按钮 -->
    <div class="footer">
      <div class="handler-list">
        <span class="handler-label">联系相关处理人</span>
        <div class="handler-avatar">伍</div>
      </div>
      <button type="button" class="btn btn-default">关闭</button>
      <button type="button" class="btn btn-default">保存</button>
      <button type="button" class="btn btn-danger">拒绝</button>
      <button type="button" class="btn btn-primary">同意</button>
    </div>
  </div>
</body>
</html>
